﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kopytko.BoardGame;
using Chess.Pawns;

namespace Chess
{
    public class ChessDummyLogic : BoardLogic
    {
        public override void Init()
        {
            Pawns = new Kopytko.BoardGame.Pawns();
            

            Pawns.Add(new ChessPawn(Player1, new BoardPosition(1, 1), ChessPawnType.King, ChessPawnColor.Black));
            Pawns.Add(new ChessPawn(Player1, new BoardPosition(2, 2), ChessPawnType.Queen, ChessPawnColor.Black));
            Pawns.Add(new ChessPawn(Player1, new BoardPosition(4, 5), ChessPawnType.Queen, ChessPawnColor.White));
            Pawns.Add(new ChessPawn(Player1, new BoardPosition(0, 0), ChessPawnType.Rook, ChessPawnColor.White));
        }

        public override Kopytko.GameBase.IPlayer WhoTurnIs()
        {
            throw new NotImplementedException();
        }

        public override IEnumerable<BoardPosition> GetAvailableMovements(BoardPosition currentPosition)
        {
            throw new NotImplementedException();
        }

        public override bool IsMoveAllowed(BoardPosition currentPosition)
        {
            throw new NotImplementedException();
        }

        public override MoveResult Move(BoardPosition currentPosition, BoardPosition destPosition)
        {
            throw new NotImplementedException();
        }
    }
}
